/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bradley.principals.core.ocp.obey;

/**
 *
 * @author Balla
 */
public class PersonalLoanValidator implements Validator{
    public PersonalLoanValidator() {
    }

    @Override
    public Boolean isValid(int balance) {
        if (balance > 1000) {
            return true;
        } else {
            return false;
        }
    }

}
